package com.yunwei.service;

import android.content.Context;

import com.yunwei.dao.Note;
import com.yunwei.dao.NoteDao;

import java.util.List;

/**
 * Created by weijianxing on 9/16/15.
 */
public class NoteService {

    private NoteDao noteDao;


    private Context context;


    public NoteService(NoteDao noteDao) {
        this.noteDao = noteDao;
    }


    public List<Note> findAllNote() {
        return noteDao.loadAll();
    }
}
